This will update backwards as well as forwards, which is a little scary. :)
Since it could be pretty surprising and make your life harder to recover from if you run it by accident (losing mixed versions, encountering new update conflicts, etc), I'd recommend backing it out for now. Also 'scap' is a term of art specific to our deployment system, and is not used appropriately here. ;)
+++ /dev/null
-<?php
-
-require_once( dirname( __FILE__ ) . '/commandLine.inc');
-
-$url = 'http://en.wikipedia.org/w/api.php?action=query&meta=siteinfo&format=php';
-$data = @unserialize( Http::get( $url ) );
-$rev = @$data['query']['general']['rev'];
-if ( !$rev )
- die( "Unable to fetch latest SVN revision from {$url}\n" );
-
-print "Updating to revision {$rev}\n";
-chdir( dirname( __FILE__ ) . '/..' );
-system( "svn up -r {$rev}" );